<template>
	<view class="content">
		<image class="logo" src="/static/logo.png"></image>
		<view class="text-area">
			<text class="title">{{title}}</text>
		</view>
	</view>
	<!-- 
		flex_xx flex布局;
		z-font-x 字体大小;
	-->
	<view class="flex_cc">
		<view class="uni-h4">a</view>
		<view>a</view>
	</view>
</template>

<script setup>
	// uniapp 页面生命周期函数
	import { onLoad, onShow, onReachBottom, onReady } from '@dcloudio/uni-app'
	// Vue 页面生命周期函数
	import { ref, reactive, getCurrentInstance, onMounted } from 'vue'
	
	// 接口调用测试
	// import { getDome } from '@/api/login'
	
	const { proxy: that } = getCurrentInstance()
	uni.showToast({
		title: import.meta.env.VITE_USER_NODE_ENV,
		icon: 'none',
		duration: 5000
	})
	
	const title = '1000'
	// console.log(getDome);
</script>

<style lang="scss">
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: $uni-text-color-main;
	}
</style>
